Source names should use "[gtk]" without the plus.
if (!item->action_idle_handler)
{
item->action_idle_handler = g_idle_add (idle_do_action, item);
- g_source_set_name_by_id (item->action_idle_handler, "[gtk+] idle_do_action");
+ g_source_set_name_by_id (item->action_idle_handler, "[gtk] idle_do_action");
}
return TRUE;
if (gtk_widget_get_realized (widget) && !priv->activate_timeout)
{
priv->activate_timeout = g_timeout_add (ACTIVATE_TIMEOUT, button_activate_timeout, button);
- g_source_set_name_by_id (priv->activate_timeout, "[gtk+] button_activate_timeout");
+ g_source_set_name_by_id (priv->activate_timeout, "[gtk] button_activate_timeout");
priv->button_down = TRUE;
}
}
TIMEOUT_REPEAT * SCROLL_DELAY_FACTOR,
(GSourceFunc) calendar_timer,
calendar, NULL);
- g_source_set_name_by_id (priv->timer, "[gtk+] calendar_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] calendar_timer");
}
else
retval = TRUE;
TIMEOUT_INITIAL,
(GSourceFunc) calendar_timer,
calendar, NULL);
- g_source_set_name_by_id (priv->timer, "[gtk+] calendar_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] calendar_timer");
}
}
* of #GtkCellRendererSpin:digits to display. Other #GtkSpinButton properties
* can be set in a handler for the #GtkCellRenderer::editing-started signal.
*
- * The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
+ * The #GtkCellRendererSpin cell renderer was added in GTK 2.10.
*/
return;
priv->entry_menu_popdown_timeout = g_timeout_add (500, popdown_timeout, data);
- g_source_set_name_by_id (priv->entry_menu_popdown_timeout, "[gtk+] popdown_timeout");
+ g_source_set_name_by_id (priv->entry_menu_popdown_timeout, "[gtk] popdown_timeout");
}
static void
gtk_widget_hide (info->icon_window);
info->drop_timeout = g_timeout_add (DROP_ABORT_TIME, gtk_drag_abort_timeout, info);
- g_source_set_name_by_id (info->drop_timeout, "[gtk+] gtk_drag_abort_timeout");
+ g_source_set_name_by_id (info->drop_timeout, "[gtk] gtk_drag_abort_timeout");
}
/*
password_hint->source_id = g_timeout_add (password_hint_timeout,
(GSourceFunc)gtk_entry_remove_password_hint,
entry);
- g_source_set_name_by_id (password_hint->source_id, "[gtk+] gtk_entry_remove_password_hint");
+ g_source_set_name_by_id (password_hint->source_id, "[gtk] gtk_entry_remove_password_hint");
}
}
}
priv->selection_bubble_timeout_id =
g_timeout_add (50, gtk_entry_selection_bubble_popup_show, entry);
- g_source_set_name_by_id (priv->selection_bubble_timeout_id, "[gtk+] gtk_entry_selection_bubble_popup_cb");
+ g_source_set_name_by_id (priv->selection_bubble_timeout_id, "[gtk] gtk_entry_selection_bubble_popup_cb");
}
static void
priv->blink_timeout = g_timeout_add (get_cursor_time (entry) * CURSOR_OFF_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
entry);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
else
{
priv->blink_timeout = g_timeout_add (get_cursor_time (entry) * CURSOR_ON_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
entry);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
return G_SOURCE_REMOVE;
priv->blink_timeout = g_timeout_add (get_cursor_time (entry) * CURSOR_ON_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
entry);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
}
else
priv->blink_timeout = g_timeout_add (get_cursor_time (entry) * CURSOR_PEND_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
entry);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
show_cursor (entry);
}
}
g_timeout_add (COMPLETION_TIMEOUT,
gtk_entry_completion_timeout,
completion);
- g_source_set_name_by_id (completion->priv->completion_timeout, "[gtk+] gtk_entry_completion_timeout");
+ g_source_set_name_by_id (completion->priv->completion_timeout, "[gtk] gtk_entry_completion_timeout");
}
static gboolean
g_cclosure_new_object (G_CALLBACK (check_completion_callback),
G_OBJECT (completion)));
g_source_attach (completion->priv->check_completion_idle, NULL);
- g_source_set_name (completion->priv->check_completion_idle, "[gtk+] check_completion_callback");
+ g_source_set_name (completion->priv->check_completion_idle, "[gtk] check_completion_callback");
}
}
if (!priv->expanded && !priv->expand_timer)
{
priv->expand_timer = g_timeout_add (TIMEOUT_EXPAND, (GSourceFunc) expand_timeout, expander);
- g_source_set_name_by_id (priv->expand_timer, "[gtk+] expand_timeout");
+ g_source_set_name_by_id (priv->expand_timer, "[gtk] expand_timeout");
}
return TRUE;
priv->location_changed_id = g_timeout_add (LOCATION_CHANGED_TIMEOUT,
location_changed_timeout_cb,
impl);
- g_source_set_name_by_id (priv->location_changed_id, "[gtk+] location_changed_timeout_cb");
+ g_source_set_name_by_id (priv->location_changed_id, "[gtk] location_changed_timeout_cb");
}
static void
g_assert (priv->load_state != LOAD_PRELOAD);
priv->load_timeout_id = g_timeout_add (MAX_LOADING_TIME, load_timeout_cb, impl);
- g_source_set_name_by_id (priv->load_timeout_id, "[gtk+] load_timeout_cb");
+ g_source_set_name_by_id (priv->load_timeout_id, "[gtk] load_timeout_cb");
priv->load_state = LOAD_PRELOAD;
}
recent_idle_load,
load_data,
recent_idle_cleanup);
- g_source_set_name_by_id (priv->load_recent_id, "[gtk+] recent_idle_load");
+ g_source_set_name_by_id (priv->load_recent_id, "[gtk] recent_idle_load");
}
/* Called from ::should_respond(). We return whether there are selected
thaw_func,
model,
NULL);
- g_source_set_name_by_id (model->dir_thaw_source, "[gtk+] thaw_func");
+ g_source_set_name_by_id (model->dir_thaw_source, "[gtk] thaw_func");
}
for (walk = files; walk; walk = walk->next)
gtk_gesture_get_point (gesture, sequence,
&priv->initial_x, &priv->initial_y);
priv->timeout_id = g_timeout_add (delay, _gtk_gesture_long_press_timeout, gesture);
- g_source_set_name_by_id (priv->timeout_id, "[gtk+] _gtk_gesture_long_press_timeout");
+ g_source_set_name_by_id (priv->timeout_id, "[gtk] _gtk_gesture_long_press_timeout");
}
static void
g_object_get (settings, "gtk-double-click-time", &double_click_time, NULL);
priv->double_click_timeout_id = g_timeout_add (double_click_time, _double_click_timeout_cb, gesture);
- g_source_set_name_by_id (priv->double_click_timeout_id, "[gtk+] _double_click_timeout_cb");
+ g_source_set_name_by_id (priv->double_click_timeout_id, "[gtk] _double_click_timeout_cb");
}
static gboolean
/* This function is referred to in gtk/glade/gtk-private-widgets.xml
* and is used to ensure the private types for use in Glade while
- * editing UI files that define GTK+’s various composite widget classes.
+ * editing UI files that define GTK’s various composite widget classes.
*/
void
gtk_glade_catalog_init (const gchar *catalog_name)
theme_changed_idle,
icon_theme,
NULL);
- g_source_set_name_by_id (priv->theme_changed_idle, "[gtk+] theme_changed_idle");
+ g_source_set_name_by_id (priv->theme_changed_idle, "[gtk] theme_changed_idle");
}
}
if (icon_view->priv->scroll_timeout_id == 0) {
icon_view->priv->scroll_timeout_id = g_timeout_add (30, rubberband_scroll_timeout, icon_view);
- g_source_set_name_by_id (icon_view->priv->scroll_timeout_id, "[gtk+] rubberband_scroll_timeout");
+ g_source_set_name_by_id (icon_view->priv->scroll_timeout_id, "[gtk] rubberband_scroll_timeout");
}
}
else
if (icon_view->priv->scroll_timeout_id == 0)
{
icon_view->priv->scroll_timeout_id = g_timeout_add (50, drag_scroll_timeout, icon_view);
- g_source_set_name_by_id (icon_view->priv->scroll_timeout_id, "[gtk+] drag_scroll_timeout");
+ g_source_set_name_by_id (icon_view->priv->scroll_timeout_id, "[gtk] drag_scroll_timeout");
}
if (target == g_intern_static_string ("GTK_TREE_MODEL_ROW"))
store.store_loop = g_main_loop_new (NULL, TRUE);
store_timeout = g_timeout_add_seconds (10, (GSourceFunc) g_main_loop_quit, store.store_loop);
- g_source_set_name_by_id (store_timeout, "[gtk+] gtk_main_sync clipboard store timeout");
+ g_source_set_name_by_id (store_timeout, "[gtk] gtk_main_sync clipboard store timeout");
if (g_main_loop_is_running (store.store_loop))
g_main_loop_run (store.store_loop);
: MENU_SCROLL_TIMEOUT1,
gtk_menu_scroll_timeout,
menu);
- g_source_set_name_by_id (priv->scroll_timeout, "[gtk+] gtk_menu_scroll_timeout");
+ g_source_set_name_by_id (priv->scroll_timeout, "[gtk] gtk_menu_scroll_timeout");
}
else if (!enter && !in_arrow && priv->upper_arrow_prelight)
{
: MENU_SCROLL_TIMEOUT1,
gtk_menu_scroll_timeout,
menu);
- g_source_set_name_by_id (priv->scroll_timeout, "[gtk+] gtk_menu_scroll_timeout");
+ g_source_set_name_by_id (priv->scroll_timeout, "[gtk] gtk_menu_scroll_timeout");
}
else if (!enter && !in_arrow && priv->lower_arrow_prelight)
{
info->trigger_event = gtk_get_current_event ();
priv->timer = g_timeout_add (popup_delay, gtk_menu_item_popup_timeout, info);
- g_source_set_name_by_id (priv->timer, "[gtk+] gtk_menu_item_popup_timeout");
+ g_source_set_name_by_id (priv->timer, "[gtk] gtk_menu_item_popup_timeout");
return;
}
box->separator_sync_idle = g_idle_add_full (G_PRIORITY_HIGH_IDLE, /* before resize... */
gtk_menu_section_box_handle_sync_separators,
box, NULL);
- g_source_set_name_by_id (box->separator_sync_idle, "[gtk+] menu section box handle sync separators");
+ g_source_set_name_by_id (box->separator_sync_idle, "[gtk] menu section box handle sync separators");
}
}
priv->dnd_timer = g_timeout_add (TIMEOUT_REPEAT * SCROLL_DELAY_FACTOR,
scroll_notebook_timer,
notebook);
- g_source_set_name_by_id (priv->dnd_timer, "[gtk+] scroll_notebook_timer");
+ g_source_set_name_by_id (priv->dnd_timer, "[gtk] scroll_notebook_timer");
}
}
else
if (!priv->switch_tab_timer)
{
priv->switch_tab_timer = g_timeout_add (TIMEOUT_EXPAND, gtk_notebook_switch_tab_timeout, widget);
- g_source_set_name_by_id (priv->switch_tab_timer, "[gtk+] gtk_notebook_switch_tab_timeout");
+ g_source_set_name_by_id (priv->switch_tab_timer, "[gtk] gtk_notebook_switch_tab_timeout");
}
}
else
priv->timer = g_timeout_add (TIMEOUT_REPEAT * SCROLL_DELAY_FACTOR,
(GSourceFunc) gtk_notebook_timer,
notebook);
- g_source_set_name_by_id (priv->timer, "[gtk+] gtk_notebook_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] gtk_notebook_timer");
}
else
retval = TRUE;
priv->timer = g_timeout_add (TIMEOUT_INITIAL,
(GSourceFunc) gtk_notebook_timer,
notebook);
- g_source_set_name_by_id (priv->timer, "[gtk+] gtk_notebook_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] gtk_notebook_timer");
priv->need_timer = TRUE;
}
}
* and height) of a paper size and its name, it also provides
* default [print margins][print-margins].
*
- * Printing support has been added in GTK+ 2.10.
+ * Printing support has been added in GTK 2.10.
*/
* depends on the current locale.
*
* Returns: the name of the default paper size. The string
- * is owned by GTK+ and should not be modified.
+ * is owned by GTK and should not be modified.
*/
const gchar *
gtk_paper_size_get_default (void)
op_win32->timeout_id = g_timeout_add (STATUS_POLLING_TIME,
(GSourceFunc)win32_poll_status_timeout,
op);
- g_source_set_name_by_id (op_win32->timeout_id, "[gtk+] win32_poll_status_timeout");
+ g_source_set_name_by_id (op_win32->timeout_id, "[gtk] win32_poll_status_timeout");
}
g_object_unref (op);
return FALSE;
op_win32->timeout_id = g_timeout_add (STATUS_POLLING_TIME,
(GSourceFunc)win32_poll_status_timeout,
op);
- g_source_set_name_by_id (op_win32->timeout_id, "[gtk+] win32_poll_status_timeout");
+ g_source_set_name_by_id (op_win32->timeout_id, "[gtk] win32_poll_status_timeout");
}
else
/* Dunno what happened, pretend its finished */
preview_print_idle,
pop,
preview_print_idle_done);
- g_source_set_name_by_id (id, "[gtk+] preview_print_idle");
+ g_source_set_name_by_id (id, "[gtk] preview_print_idle");
}
g_timeout_add (SHOW_PROGRESS_TIME,
(GSourceFunc) show_progress_timeout,
data);
- g_source_set_name_by_id (priv->show_progress_timeout_id, "[gtk+] show_progress_timeout");
+ g_source_set_name_by_id (priv->show_progress_timeout_id, "[gtk] show_progress_timeout");
data->progress = progress;
}
print_pages_idle,
data,
print_pages_idle_done);
- g_source_set_name_by_id (priv->print_pages_idle_id, "[gtk+] print_pages_idle");
+ g_source_set_name_by_id (priv->print_pages_idle_id, "[gtk] print_pages_idle");
/* Recursive main loop to make sure we don't exit on sync operations */
if (priv->is_sync)
return;
priv->mark_conflicts_id = g_idle_add (mark_conflicts_callback, dialog);
- g_source_set_name_by_id (priv->mark_conflicts_id, "[gtk+] mark_conflicts_callback");
+ g_source_set_name_by_id (priv->mark_conflicts_id, "[gtk] mark_conflicts_callback");
}
static void
GtkRangePrivate *priv = gtk_range_get_instance_private (range);
priv->timer->timeout_id = g_timeout_add (TIMEOUT_REPEAT, second_timeout, range);
- g_source_set_name_by_id (priv->timer->timeout_id, "[gtk+] second_timeout");
+ g_source_set_name_by_id (priv->timer->timeout_id, "[gtk] second_timeout");
return G_SOURCE_REMOVE;
}
priv->timer = g_new (GtkRangeStepTimer, 1);
priv->timer->timeout_id = g_timeout_add (TIMEOUT_INITIAL, initial_timeout, range);
- g_source_set_name_by_id (priv->timer->timeout_id, "[gtk+] initial_timeout");
+ g_source_set_name_by_id (priv->timer->timeout_id, "[gtk] initial_timeout");
priv->timer->step = step;
gtk_range_scroll (range, priv->timer->step);
if (manager->priv->changed_timeout == 0)
{
manager->priv->changed_timeout = g_timeout_add (250, emit_manager_changed, manager);
- g_source_set_name_by_id (manager->priv->changed_timeout, "[gtk+] emit_manager_changed");
+ g_source_set_name_by_id (manager->priv->changed_timeout, "[gtk] emit_manager_changed");
}
else
{
else if (indicator_close && !on_other_scrollbar)
{
indicator->over_timeout_id = g_timeout_add (30, enable_over_timeout_cb, indicator);
- g_source_set_name_by_id (indicator->over_timeout_id, "[gtk+] enable_over_timeout_cb");
+ g_source_set_name_by_id (indicator->over_timeout_id, "[gtk] enable_over_timeout_cb");
}
else
indicator_set_over (indicator, FALSE);
priv->scroll_events_overshoot_id =
g_timeout_add (50, start_scroll_deceleration_cb, scrolled_window);
g_source_set_name_by_id (priv->scroll_events_overshoot_id,
- "[gtk+] start_scroll_deceleration_cb");
+ "[gtk] start_scroll_deceleration_cb");
}
return GDK_EVENT_STOP;
if (visible && indicator->conceil_timer == 0)
{
indicator->conceil_timer = g_timeout_add (INDICATOR_FADE_OUT_TIME, maybe_hide_indicator, indicator);
- g_source_set_name_by_id (indicator->conceil_timer, "[gtk+] maybe_hide_indicator");
+ g_source_set_name_by_id (indicator->conceil_timer, "[gtk] maybe_hide_indicator");
}
if (!visible && indicator->conceil_timer != 0)
{
return;
model->idle = g_idle_add (do_search, engine);
- g_source_set_name_by_id (model->idle, "[gtk+] gtk_search_engine_model_start");
+ g_source_set_name_by_id (model->idle, "[gtk] gtk_search_engine_model_start");
}
static void
batch->thread_data = data;
id = g_idle_add (search_thread_add_hits_idle, batch);
- g_source_set_name_by_id (id, "[gtk+] search_thread_add_hits_idle");
+ g_source_set_name_by_id (id, "[gtk] search_thread_add_hits_idle");
}
data->hits = NULL;
send_batch (data);
id = g_idle_add (search_thread_done_idle, data);
- g_source_set_name_by_id (id, "[gtk+] search_thread_done_idle");
+ g_source_set_name_by_id (id, "[gtk] search_thread_done_idle");
return NULL;
}
priv->delayed_changed_id = g_timeout_add (DELAYED_TIMEOUT_ID,
gtk_search_entry_changed_timeout_cb,
entry);
- g_source_set_name_by_id (priv->delayed_changed_id, "[gtk+] gtk_search_entry_changed_timeout_cb");
+ g_source_set_name_by_id (priv->delayed_changed_id, "[gtk] gtk_search_entry_changed_timeout_cb");
}
static void
* [XSettings](http://www.freedesktop.org/wiki/Specifications/xsettings-spec)
* manager that is usually part of the desktop environment, along with
* utilities that let the user change these settings. In the absence of
- * an Xsettings manager, GTK+ reads default values for settings from
+ * an Xsettings manager, GTK reads default values for settings from
* `settings.ini` files in
* `/etc/gtk-4.0`, `$XDG_CONFIG_DIRS/gtk-4.0`
* and `$XDG_CONFIG_HOME/gtk-4.0`.
/**
* GtkSettings:gtk-font-name:
*
- * The default font to use. GTK+ uses the family name and size from this string.
+ * The default font to use. GTK uses the family name and size from this string.
*/
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-font-name",
* GtkSettings:gtk-print-backends:
*
* A comma-separated list of print backends to use in the print
- * dialog. Available print backends depend on the GTK+ installation,
+ * dialog. Available print backends depend on the GTK installation,
* and may include "file", "cups", "lpr" or "papi".
*/
result = settings_install_property_parser (class,
* Which IM (input method) module should be used by default. This is the
* input method that will be used if the user has not explicitly chosen
* another input method from the IM context menu.
- * This also can be a colon-separated list of input methods, which GTK+
+ * This also can be a colon-separated list of input methods, which GTK
* will try in turn until it finds one available on the system.
*
* See #GtkIMContext.
* See the [Sound Theme Specifications](http://www.freedesktop.org/wiki/Specifications/sound-theme-spec)
* for more information on event sounds and sound themes.
*
- * GTK+ itself does not support event sounds, you have to use a loadable
+ * GTK itself does not support event sounds, you have to use a loadable
* module like the one that comes with libcanberra.
*/
result = settings_install_property_parser (class,
* See the [Sound Theme Specifications](http://www.freedesktop.org/wiki/Specifications/sound-theme-spec)
* for more information on event sounds and sound themes.
*
- * GTK+ itself does not support event sounds, you have to use a loadable
+ * GTK itself does not support event sounds, you have to use a loadable
* module like the one that comes with libcanberra.
*/
result = settings_install_property_parser (class,
* See the [Sound Theme Specifications](http://www.freedesktop.org/wiki/Specifications/sound-theme-spec)
* for more information on event sounds and sound themes.
*
- * GTK+ itself does not support event sounds, you have to use a loadable
+ * GTK itself does not support event sounds, you have to use a loadable
* module like the one that comes with libcanberra.
*/
result = settings_install_property_parser (class,
* slider/value to move by the range’s page-size towards the point clicked.
*
* Whichever action you choose for the primary button, the other action will
- * be available by holding Shift and primary-clicking, or (since GTK+ 3.22.25)
+ * be available by holding Shift and primary-clicking, or (since GTK 3.22.25)
* clicking the middle mouse button.
*/
result = settings_install_property_parser (class,
/**
* GtkSettings:gtk-application-prefer-dark-theme:
*
- * Whether the application prefers to use a dark theme. If a GTK+ theme
+ * Whether the application prefers to use a dark theme. If a GTK theme
* includes a dark variant, it will be used instead of the configured
* theme.
*
/**
* GtkSettings:gtk-dialogs-use-header:
*
- * Whether builtin GTK+ dialogs such as the file chooser, the
+ * Whether builtin GTK dialogs such as the file chooser, the
* color chooser or the font chooser will use a header bar at
* the top to show action widgets, or an action area at the bottom.
*
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-dialogs-use-header",
P_("Dialogs use header bar"),
- P_("Whether builtin GTK+ dialogs should use a header bar instead of an action area."),
+ P_("Whether builtin GTK dialogs should use a header bar instead of an action area."),
FALSE,
GTK_PARAM_READWRITE),
NULL);
/**
* GtkSettings:gtk-recent-files-enabled:
*
- * Whether GTK+ should keep track of items inside the recently used
+ * Whether GTK should keep track of items inside the recently used
* resources list. If set to %FALSE, the list will always be empty.
*/
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-recent-files-enabled",
P_("Recent Files Enabled"),
- P_("Whether GTK+ remembers recent files"),
+ P_("Whether GTK remembers recent files"),
TRUE,
GTK_PARAM_READWRITE),
NULL);
/**
* GtkSettings:gtk-keynav-use-caret:
*
- * Whether GTK+ should make sure that text can be navigated with
+ * Whether GTK should make sure that text can be navigated with
* a caret, even if it is not editable. This is useful when using
* a screen reader.
*/
priv->timer = g_timeout_add (TIMEOUT_INITIAL,
(GSourceFunc) gtk_spin_button_timer,
(gpointer) spin);
- g_source_set_name_by_id (priv->timer, "[gtk+] gtk_spin_button_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] gtk_spin_button_timer");
}
gtk_spin_button_real_spin (spin, click_child == priv->up_button ? step : -step);
priv->timer = g_timeout_add (TIMEOUT_REPEAT,
(GSourceFunc) gtk_spin_button_timer,
spin_button);
- g_source_set_name_by_id (priv->timer, "[gtk+] gtk_spin_button_timer");
+ g_source_set_name_by_id (priv->timer, "[gtk] gtk_spin_button_timer");
}
else
{
priv->switch_timer = g_timeout_add (TIMEOUT_EXPAND,
gtk_stack_switcher_switch_timeout,
self);
- g_source_set_name_by_id (priv->switch_timer, "[gtk+] gtk_stack_switcher_switch_timeout");
+ g_source_set_name_by_id (priv->switch_timer, "[gtk] gtk_stack_switcher_switch_timeout");
}
return retval;
do_update_im_spot_location,
text_view,
NULL);
- g_source_set_name_by_id (priv->im_spot_idle, "[gtk+] do_update_im_spot_location");
+ g_source_set_name_by_id (priv->im_spot_idle, "[gtk] do_update_im_spot_location");
}
}
if (!priv->first_validate_idle)
{
priv->first_validate_idle = g_idle_add_full (GTK_PRIORITY_RESIZE - 2, first_validate_callback, text_view, NULL);
- g_source_set_name_by_id (priv->first_validate_idle, "[gtk+] first_validate_callback");
+ g_source_set_name_by_id (priv->first_validate_idle, "[gtk] first_validate_callback");
DV (g_print (G_STRLOC": adding first validate idle %d\n",
priv->first_validate_idle));
}
if (!priv->incremental_validate_idle)
{
priv->incremental_validate_idle = g_idle_add_full (GTK_TEXT_VIEW_PRIORITY_VALIDATE, incremental_validate_callback, text_view, NULL);
- g_source_set_name_by_id (priv->incremental_validate_idle, "[gtk+] incremental_validate_callback");
+ g_source_set_name_by_id (priv->incremental_validate_idle, "[gtk] incremental_validate_callback");
DV (g_print (G_STRLOC": adding incremental validate idle %d\n",
priv->incremental_validate_idle));
}
priv->blink_timeout = g_timeout_add (get_cursor_time (text_view) * CURSOR_OFF_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
text_view);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
else
{
priv->blink_timeout = g_timeout_add (get_cursor_time (text_view) * CURSOR_ON_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
text_view);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
priv->blink_time += get_cursor_time (text_view);
}
priv->blink_timeout = g_timeout_add (get_cursor_time (text_view) * CURSOR_OFF_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
text_view);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
}
else
priv->blink_timeout = g_timeout_add (get_cursor_time (text_view) * CURSOR_PEND_MULTIPLIER / CURSOR_DIVIDER,
blink_cb,
text_view);
- g_source_set_name_by_id (priv->blink_timeout, "[gtk+] blink_cb");
+ g_source_set_name_by_id (priv->blink_timeout, "[gtk] blink_cb");
}
}
g_source_remove (text_view->priv->scroll_timeout);
text_view->priv->scroll_timeout = g_timeout_add (50, selection_scan_timeout, text_view);
- g_source_set_name_by_id (text_view->priv->scroll_timeout, "[gtk+] selection_scan_timeout");
+ g_source_set_name_by_id (text_view->priv->scroll_timeout, "[gtk] selection_scan_timeout");
gtk_text_view_selection_bubble_popup_unset (text_view);
if (!priv->scroll_timeout)
{
priv->scroll_timeout = g_timeout_add (100, drag_scan_timeout, text_view);
- g_source_set_name_by_id (text_view->priv->scroll_timeout, "[gtk+] drag_scan_timeout");
+ g_source_set_name_by_id (text_view->priv->scroll_timeout, "[gtk] drag_scan_timeout");
}
gtk_drag_highlight (widget);
g_source_remove (priv->selection_bubble_timeout_id);
priv->selection_bubble_timeout_id = g_timeout_add (50, gtk_text_view_selection_bubble_popup_show, text_view);
- g_source_set_name_by_id (priv->selection_bubble_timeout_id, "[gtk+] gtk_text_view_selection_bubble_popup_cb");
+ g_source_set_name_by_id (priv->selection_bubble_timeout_id, "[gtk] gtk_text_view_selection_bubble_popup_cb");
}
/* Child GdkSurfaces */
if (!priv->idle_id)
{
priv->idle_id = g_idle_add (slide_idle_handler, toolbar);
- g_source_set_name_by_id (priv->idle_id, "[gtk+] slide_idle_handler");
+ g_source_set_name_by_id (priv->idle_id, "[gtk] slide_idle_handler");
}
content_allocation.x = 0;
tooltip_browse_mode_expired,
g_object_ref (tooltip),
g_object_unref);
- g_source_set_name_by_id (tooltip->browse_mode_timeout_id, "[gtk+] tooltip_browse_mode_expired");
+ g_source_set_name_by_id (tooltip->browse_mode_timeout_id, "[gtk] tooltip_browse_mode_expired");
}
if (tooltip->current_window)
tooltip_popup_timeout,
g_object_ref (display),
g_object_unref);
- g_source_set_name_by_id (tooltip->timeout_id, "[gtk+] tooltip_popup_timeout");
+ g_source_set_name_by_id (tooltip->timeout_id, "[gtk] tooltip_popup_timeout");
}
void
{
tree_view->priv->auto_expand_timeout =
g_timeout_add (AUTO_EXPAND_TIMEOUT, auto_expand_timeout, tree_view);
- g_source_set_name_by_id (tree_view->priv->auto_expand_timeout, "[gtk+] auto_expand_timeout");
+ g_source_set_name_by_id (tree_view->priv->auto_expand_timeout, "[gtk] auto_expand_timeout");
}
}
{
tree_view->priv->validate_rows_timer =
g_idle_add_full (GTK_TREE_VIEW_PRIORITY_VALIDATE, (GSourceFunc) validate_rows, tree_view, NULL);
- g_source_set_name_by_id (tree_view->priv->validate_rows_timer, "[gtk+] validate_rows");
+ g_source_set_name_by_id (tree_view->priv->validate_rows_timer, "[gtk] validate_rows");
}
}
{
tree_view->priv->scroll_sync_timer =
g_idle_add_full (GTK_TREE_VIEW_PRIORITY_SCROLL_SYNC, (GSourceFunc) scroll_sync_handler, tree_view, NULL);
- g_source_set_name_by_id (tree_view->priv->scroll_sync_timer, "[gtk+] scroll_sync_handler");
+ g_source_set_name_by_id (tree_view->priv->scroll_sync_timer, "[gtk] scroll_sync_handler");
}
}
if (tree_view->priv->scroll_timeout == 0)
{
tree_view->priv->scroll_timeout = g_timeout_add (150, scroll_row_timeout, tree_view);
- g_source_set_name_by_id (tree_view->priv->scroll_timeout, "[gtk+] scroll_row_timeout");
+ g_source_set_name_by_id (tree_view->priv->scroll_timeout, "[gtk] scroll_row_timeout");
}
}
{
tree_view->priv->open_dest_timeout =
g_timeout_add (AUTO_EXPAND_TIMEOUT, open_row_timeout, tree_view);
- g_source_set_name_by_id (tree_view->priv->open_dest_timeout, "[gtk+] open_row_timeout");
+ g_source_set_name_by_id (tree_view->priv->open_dest_timeout, "[gtk] open_row_timeout");
}
else
{
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
- g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk+] gtk_tree_view_search_entry_flush_timeout");
+ g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk] gtk_tree_view_search_entry_flush_timeout");
/* send focus-in event */
send_focus_change (tree_view->priv->search_entry, device, TRUE);
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
- g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk+] gtk_tree_view_search_entry_flush_timeout");
+ g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk] gtk_tree_view_search_entry_flush_timeout");
}
}
gtk_tree_view_real_search_enable_popdown,
g_object_ref (data),
g_object_unref);
- g_source_set_name_by_id (id, "[gtk+] gtk_tree_view_real_search_enable_popdown");
+ g_source_set_name_by_id (id, "[gtk] gtk_tree_view_real_search_enable_popdown");
}
static void
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
- g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk+] gtk_tree_view_search_entry_flush_timeout");
+ g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk] gtk_tree_view_search_entry_flush_timeout");
}
return GDK_EVENT_STOP;
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
- g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk+] gtk_tree_view_search_entry_flush_timeout");
+ g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk] gtk_tree_view_search_entry_flush_timeout");
}
if (!retval)
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
- g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk+] gtk_tree_view_search_entry_flush_timeout");
+ g_source_set_name_by_id (tree_view->priv->typeselect_flush_timeout, "[gtk] gtk_tree_view_search_entry_flush_timeout");
}
if (*text == '\0')
if (!priv->keys_changed_handler)
{
priv->keys_changed_handler = g_idle_add (handle_keys_changed, window);
- g_source_set_name_by_id (priv->keys_changed_handler, "[gtk+] handle_keys_changed");
+ g_source_set_name_by_id (priv->keys_changed_handler, "[gtk] handle_keys_changed");
}
}
priv->mnemonics_display_timeout_id =
g_timeout_add (MNEMONICS_DELAY, schedule_mnemonics_visible_cb, window);
- g_source_set_name_by_id (priv->mnemonics_display_timeout_id, "[gtk+] schedule_mnemonics_visible_cb");
+ g_source_set_name_by_id (priv->mnemonics_display_timeout_id, "[gtk] schedule_mnemonics_visible_cb");
}
/**
gtk_window_update_debugging_id == 0)
{
gtk_window_update_debugging_id = g_idle_add (update_debugging, NULL);
- g_source_set_name_by_id (gtk_window_update_debugging_id, "[gtk+] gtk_window_update_debugging");
+ g_source_set_name_by_id (gtk_window_update_debugging_id, "[gtk] gtk_window_update_debugging");
}
}
<default>false</default>
<summary>Enable inspector keybinding</summary>
<description>
- If this setting is true, GTK+ lets the user open an interactive
+ If this setting is true, GTK lets the user open an interactive
debugging window with a keybinding. The default shortcuts for
the keybinding are Control-Shift-I and Control-Shift-D.
</description>
<default>true</default>
<summary>Inspector warning</summary>
<description>
- If this setting is true, GTK+ shows a warning before letting
+ If this setting is true, GTK shows a warning before letting
the user use the interactive debugger.
</description>
</key>